package com.mach.platform.domain.base;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author Anonymous
 * @Description:  岗位架构表
 * @Package: com.mach.platform.com.mach.platform.domain
 * @time 2018/04/13 22:08
 */
@ApiModel(value = "岗位表字段")
@Data
@Entity
@Table(name = "post")
public class Post implements Serializable {

	private static final long serialVersionUID = -2450040149385287915L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long   id;
	/**
	 * 父id
	 */
	private Long pid;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 备注
	 */
	private String remark;


}
